package com.wss.day02.test02;

/**
 * @author wangshaoshuai
 * @desc TODO
 * @date 2025/4/21
 */
public class Manager extends Employee {
    private String department;

    public Manager(String name, String address, double baseSalary, String department) {
        super(name, address, baseSalary);
        this.department = department;
    }

    @Override
    public void show() {
        super.show();
        System.out.println("管理部门：" + department);
        System.out.println("职位：经理");
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }
}